﻿using System;
using UnityEngine;
using System.Collections;

public class MessageReceiver : MonoBehaviour
{
	#region offcial fields
	/// <summary>
	///  闪屏
	/// </summary>
	public Texture2D SplashTex;

	public bool LoginSuccess = false;

	#region callback

	/// <summary>
	/// uid, token, plchild
	/// </summary>
	public Action<string, string, string> OnLoginSucc;

	public Action OnCancelLogin; 

	public Action OnInitSucc;

	public Action<string> OnPayStart;

	public Action<string> OnPayEnd;

	public Action<string> OnSwitchAccount;


	// TODO:在此处加入更多的Callback

	#endregion

	#endregion


}
